﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ReportBrowser.ViewModel;

namespace ReportBrowser.View
{
    class ModellingAideMainWindowView
    {
        #region Fields

        MainWindowViewModel mModel;
        MessagesViewModel mMessages;

        #endregion Fields

        #region Lifecycle

        private ModellingAideMainWindowView()
        {
            mModel= new MainWindowViewModel();
            mMessages= new MessagesViewModel(mModel);
        }

        #endregion Lifecycle

        #region Methods

        private void SelectMessage()
        {
            MessageViewModel selected = mMessages.Messages.First();
            selected.IsSelected = true;
            MemberViewModel member = selected.Member;
        }

        #endregion Methods
    }
}
